package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfKeywordDao;
import com.wfcm.entity.WfKeywordEntity;
import com.wfcm.service.WfKeywordService;



@Service("wfKeywordService")
public class WfKeywordServiceImpl implements WfKeywordService {
	@Autowired
	private WfKeywordDao wfKeywordDao;
	
	@Override
	public WfKeywordEntity queryObject(Integer id){
		return wfKeywordDao.queryObject(id);
	}
	
	@Override
	public List<WfKeywordEntity> queryList(Map<String, Object> map){
		return wfKeywordDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfKeywordDao.queryTotal(map);
	}
	
	@Override
	public void save(WfKeywordEntity wfKeyword){
		wfKeywordDao.save(wfKeyword);
	}
	
	@Override
	public void update(WfKeywordEntity wfKeyword){
		wfKeywordDao.update(wfKeyword);
	}
	
	@Override
	public void delete(Integer id){
		wfKeywordDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfKeywordDao.deleteBatch(ids);
	}
	
}
